/*
 * @Description: 0.5px边框
 * @Author: 无痕
 * @Email: 350801869@qq.com
 * @Date: 2021-03-03 18:03:57
 * @LastEditTime: 2021-03-04 22:12:14
 * @LastEditors: 无痕
 */
[class*='s-hairline']::before {
  position: absolute;
  box-sizing: border-box;
  content: ' ';
  pointer-events: none;
  top: -50%;
  right: -50%;
  bottom: -50%;
  left: -50%;
  border: 0;
  border-color: inherit;
  transform: scale(0.5);
}

.s-hairline,
.s-hairline--bottom,
.s-hairline--left,
.s-hairline--right,
.s-hairline--surround,
.s-hairline--top,
.s-hairline--top-bottom {
  position: relative;
}

.s-hairline--top::before {
  border-top-width: 1px;
}

.s-hairline--left::before {
  border-left-width: 1px;
}

.s-hairline--right::before {
  border-right-width: 1px;
}

.s-hairline--bottom::before {
  border-bottom-width: 1px;
}

.s-hairline--top-bottom::before,
.s-hairline--unset-top-bottom::before {
  border-width: 1px 0;
}

.s-hairline--surround::before {
  border-width: 1px;
}
